package com.zby.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zby.model.pojo.Likes;
import jakarta.validation.constraints.Min;

public interface LikeService extends IService<Likes> {
    Integer toggleLike(Long articleId, Integer id);

    /**
     * 文章点赞（内部服务）
     *
     */
    int dotogglelike(Integer userId, Integer articleId);
}
